package com.winning.ds.common.dao;

import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author SUNQ
 * @date 2020/10/13
 */
@Mapper
public interface PtZlfxDao {

    /**
     *@author SUNQ
     *@date 2020/10/13
     * @param queryParams
     *@description  查询当日评分
     */
    List<Map> queryDrpfData(Map<String, Object> queryParams);

    /**
     *@author SUNQ
     *@date 2020/10/13
     *@description  查询子机构
     */
    Integer queryZjgCount(Map<String, Object> queryParams);

    /**
     *@author SUNQ
     *@date 2020/10/13
     * @param queryParams
     *@description  查询上传机构
     */
    List<Map> queryScjgData(Map<String, Object> queryParams);

    /**
     * 查询未上传机构明细
     * @param queryParams
     * @return
     */
    List<Map> queryWscjgData(Map<String, Object> queryParams);

    /**
     *@author SUNQ
     *@date 2020/10/13
     * @param queryParams
     *@description  查询满足规则
     */
    List<Map> queryMzgzData(Map<String, Object> queryParams);

    /**
     *@author SUNQ
     *@date  2020/10/13
     * @param queryParams
     *@description  查询低分排名
     */
    List<Map> queryDfpmData(Map<String, Object> queryParams);


    /**
     *@author SUNQ
     *@date  2020/10/13
     * @param queryParams
     *@description  查询周评分趋势
     */
    List<Map> queryPfqsData(Map<String, Object> queryParams);

    /**
     * 查询错误率评分趋势
     * @param queryParams
     * @return
     */
    List<Map> queryCwlqsData(Map<String, Object> queryParams);

    /**
     *@author SUNQ
     *@date  2020/10/13
     * @param queryParams
     *@description  查询错误类型
     */
    List<Map> queryCwlxData(Map<String, Object> queryParams);

    /**
     *@author SUNQ
     *@date  2020/10/13
     * @param queryParams
     *@description  查询评分指数
     */
    List<Map> queryPfzsData(Map<String, Object> queryParams);

    /**
     *@author SUNQ
     *@date  2020/10/13
     * @param queryParams
     *@description  查询机构详情
     */
    List<Map> queryJgxqData(Map<String, Object> queryParams);

    /**
     *@author SUNQ
     *@date  2020/10/13
     * @param queryParams
     *@description  查询机构详情
     */
    List<Map> queryJgdfData(Map<String, Object> queryParams);

    /**
     *@author SUNQ
     *@date  2020/10/13
     *@description  查询合格分数
     */
    String queryHgfsData();

    /**
     *@author SUNQ
     *@date  2020/10/13
     *@description  查询错误规则
     */
    List<Map> queryCwgzData(Map<String, Object> queryParams);

    /**
     * 查询日得分
     * @author xmliu
     * @param queryParams
     * @return 每一天多个机构日得分总和的键值对
     */
    List<Map> queryDayPjdfData(Map<String, Object> queryParams);

    List<Map> queryCjwzdPffbData(Map<String, Object> queryParams);

    List<Map> queryJgjzzlData(Map<String, Object> queryParams);

    /**
     * 查询合格机构
     */
    List<Map> queryHgjgData(Map<String, Object> queryParams);

    /**
     * 查询不合格机构
     */
    List<Map> queryWhgjgData(Map<String, Object> queryParams);
}
